package com.huabo.cybermonitor.service.impl;

import com.huabo.cybermonitor.entity.MonitorRule;
import com.huabo.cybermonitor.entity.MonitorSolutionRule;
import com.huabo.cybermonitor.mapper.MonitorSolutionRuleMapper;
import com.huabo.cybermonitor.service.IMonitorSolutionRuleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author kangjx
 * @since 2022-07-26
 */
@Service
public class MonitorSolutionRuleServiceImpl extends ServiceImpl<MonitorSolutionRuleMapper, MonitorSolutionRule> implements IMonitorSolutionRuleService {

    @Resource
    MonitorSolutionRuleMapper  monitorSolutionRuleMapper;
    @Override
    public List<MonitorRule> queryRuleBySoluid(BigDecimal solutionid) {
        return monitorSolutionRuleMapper.queryRuleBySoluid(solutionid);
    }
}
